<?php


namespace app\common\validates;


use think\Validate;

class UserSign extends Validate
{
    protected $rule =   [
        'year|年'   => 'require|dateFormat:Y',
        'month|月'    => 'require|integer|min:1|max:12'
    ];

    protected $scene = [
        'moth_sign' => ['year', 'month']
    ];
}
